package utils

type pageValue struct {
	value
	MaxCount int64
	Page     int64
	MaxPage  int64
}

func GetPageValue(code int, data interface{}, maxCount int64, page int64, maxPage int64) *pageValue {
	v := new(pageValue)
	v.Code = code
	v.Data = data
	v.MaxCount = maxCount
	v.Page = page
	v.MaxPage = maxPage
	return v
}

